import Global from './modules/global'
import Aside from './modules/aside'
import MainMenu from './modules/main-menu'
import RouteHistory from './modules/route-history'
import WindowSize from './modules/window-size'
import PageSearch from './modules/page-search'
import User from './modules/user'

export default {
  state: {
    ...Global.state,
    ...Aside.state,
    ...MainMenu.state,
    ...RouteHistory.state,
    ...WindowSize.state,
    ...PageSearch.state,
    ...User.state
  },
  mutations: {
    ...Global.mutations,
    ...Aside.mutations,
    ...MainMenu.mutations,
    ...RouteHistory.mutations,
    ...WindowSize.mutations,
    ...PageSearch.mutations,
    ...User.mutations
  }
}
